﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Summary description for WebBasePage
/// </summary>
public class WebPageBase : System.Web.UI.Page
{
    protected override void OnInit(EventArgs e)
    {
        if (Session["CurrentUser"]== null)
        {
            Response.Redirect("~/Login/LoginForm.aspx?returnUrl=" + Request.Url.PathAndQuery);
        }
        base.OnInit(e);
    }
}